<?php
class categories extends connection{
    function laydanhsach(){
        $query ="SELECT * FROM categories ORDER BY id";
        $data = $this->laydulieu($query);
        return $data;
    }
}
?>